/**
 * Sample React Native App
 * https://github.com/facebook/react-native
 * @flow
 */

import React, { Component } from 'react';
import {
  AppRegistry,
  StyleSheet,
  Text,
  View
} from 'react-native';
let TAG = "DiscroverView";
export default class DiscroverView extends Component {

    componentWillMount() {
      console.log("componentWillMount ",TAG);


    }
    componentDidMount() {
        console.log("componentDidMount",TAG);


    }
    componentWillReceiveProps() {
        console.log("componentWillReceiveProps",TAG);


    }
    componentDidUpdate() {
        console.log("componentDidUpdate",TAG);


    }

    componentWillUnMount() {
        console.log("componentWillUnMount",TAG);


    }
    componentDidUnMount() {
        console.log("componentDidUnMount",TAG);



    }








  render() {
    return (
      <View style={styles.container}>
        <Text>
          Discrover页面
        </Text>
      </View>
    );
  }
}

const styles = StyleSheet.create({
  container: {
      flex: 1,
      justifyContent: 'center',
      alignItems: 'center',
      backgroundColor: '#F5FCFF',
  },
  welcome: {
    fontSize: 20,
    textAlign: 'center',
    margin: 10,
  },
  instructions: {
    textAlign: 'center',
    color: '#333333',
    marginBottom: 5,
  },
});
